package com.maiji.cloud.response.shopingmall;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@NoArgsConstructor
@Data
@Accessors(chain = true)
public class ParamConfigResData implements Comparable<ParamConfigResData> {
	
	@ApiModelProperty(value="配置id")
	private String uuId;//配置id
	
	@ApiModelProperty(value="参数名字")
	private String name;//参数名字
	
	@ApiModelProperty(value="参数值")
	private String value;//参数值

	@ApiModelProperty(value="排列顺序")
	private Integer sort;//排列顺序

    @Override
    public int compareTo(ParamConfigResData pcrd) {
        return this.sort - pcrd.getSort();
    }

}
